package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface NursingProjectMapper {
    public Page<NursingProjectVo> getByPage(
           String name,
           Integer status,
           Integer pageNum,
           Integer pageSize
    );

    void insert(NursingProject nursingProject);

    NursingProjectVo getById(Long id);

    void update(NursingProject nursingProject);
}
